﻿using Ec_System.Bll.Web;
using Ec_System.Models.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ec_System.Facade.Web
{
    public class ManufacturerFacade
    {
        ManufacturerManager manufacturerManager = new ManufacturerManager();

        /// <summary>
        /// 获取品牌列表---带分页
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public ManufacturerDataResponse GetManufacturerListWithPage(ManufacturerDataRequest request)
        {
            return manufacturerManager.GetManufacturerListWithPage(request);
        }

        /// <summary>
        /// 获取品牌产品
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public ShopProductDataResponse GetProductListByMidWithPage(ShopProductDataRequest request)
        {
            return manufacturerManager.GetProductListByMidWithPage(request);
        }
    }
}
